package com.hiwetop.cp;

import ch.qos.logback.core.net.SyslogOutputStream;
import me.chanjar.weixin.common.util.http.URIUtil;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.net.URLEncoder;

/**
 * Created by linyu on 2016/12/12.
 */
public class UrlTest {
    public static void main(String[] args) throws UnsupportedEncodingException {
        String text = "http://www.0591night.com/forum.php?mod=post&action=reply&fid=38&tid=4807&extra=page%3D1&replysubmit=yes&infloat=yes&handlekey=fastpost";
        System.out.println(URIUtils.getParameter(text,"extra"));
    }
}
